package com.jhs.boot.system.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Classname NodeStatistic
 * @Description TODO
 * @Date 2025/8/21 13:35
 * @Created by zxy
 */
@Data
@Schema( description = "节点统计数据对象")
@Builder
public class NodeStatistic implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    @Schema(description = "IP地址")
    private String ip;
    @Schema(description = "ap的类型状态 0-map 1-mpp 3终端")
    private Integer type;
    @Schema(description = "cpu的值")
    private Double cpu;
    @Schema(description = "内存的值")
    private Double mem;
    /**
     * 温度
     */
    @Schema(description = "温度的值")
    private Double tmp;

    /**
     * 节点的上行流量值
     */
    @Schema(description = "节点的上行流量值")
    private Double upVal;

    /**
     * 节点的下行行流量值
     */
    @Schema(description = "节点的下行行流量值")
    private Double downVal;
    @Schema(description = "map节点的在线数")
    private Double onLine;
    @Schema(description = "map节点的离线数")
    private Double downLine;
    @Schema(description = "客户端节点的在线数")
    private Double onLineTernimal;
    @Schema(description = "客户端节点的离线数")
    private Double downLineTernimal;
}

